home *** CD-ROM | disk | FTP | other *** search
/ Sprite 1984 - 1993 / Sprite 1984 - 1993.iso / src / tests / bf / ByteGet.c < prev    next >
Encoding:
C/C++ Source or Header  |  1992-12-16  |  1.1 KB  |  47 lines

  1. /* 
  2.  * ByteGet.c --
  3.  *
  4.  *    Routine to get a bitfield one byte at a time.
  5.  *
  6.  * Copyright 1990 Regents of the University of California
  7.  * Permission to use, copy, modify, and distribute this
  8.  * software and its documentation for any purpose and without
  9.  * fee is hereby granted, provided that the above copyright
  10.  * notice appear in all copies.  The University of California
  11.  * makes no representations about the suitability of this
  12.  * software for any purpose.  It is provided "as is" without
  13.  * express or implied warranty.
  14.  */
  15.  
  16. #ifndef lint
  17. static char rcsid[] = "$Header: /sprite/lib/forms/RCS/proto.c,v 1.3 90/01/12 12:03:36 douglis Exp $ SPRITE (Berkeley)";
  18. #endif /* not lint */
  19.  
  20. #include <kernel/bf.h>
  21.  
  22. /*
  23.  *----------------------------------------------------------------------
  24.  *
  25.  * ByteGet --
  26.  *
  27.  *     Wrapper for Bf_ByteGet.
  28.  *
  29.  * Results:
  30.  *    Result from Bf_ByteGet.
  31.  *
  32.  * Side effects:
  33.  *    None.
  34.  *
  35.  *----------------------------------------------------------------------
  36.  */
  37.  
  38. int
  39. ByteGet(ptr, offset, size)
  40.     unsigned char    *ptr;
  41.     int            offset;
  42.     int            size;
  43. {
  44.     return Bf_ByteGet(ptr, offset, size);
  45. }
  46.  
  47.